package com.zjb.home.boxingtu.activity.other;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

import com.zjb.home.boxingtu.R;
import com.zjb.home.boxingtu.activity.opengl.OpenGLActivity;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class OtherActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_other);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn0005, R.id.btn0006, R.id.btn0007, R.id.btn0004, R.id.btn0008})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn0005:
                startActivity(new Intent(this, YuanJiaoViewActivity.class));
                break;
            case R.id.btn0006:
                startActivity(new Intent(this, QueKouActivity.class));
                break;
            case R.id.btn0007:
                startActivity(new Intent(this, LineActivity.class));
                break;
            case R.id.btn0004:
                startActivity(new Intent(this, OpenGLActivity.class));
                break;
            case R.id.btn0008:
                startActivity(new Intent(this, TextViewActivity.class));
                break;
        }
    }
}
